package sample.tangocho.service;

import java.util.List;

import sample.tangocho.dataaccess.CardDao;
import sample.tangocho.dataaccess.CardDaoImpl;
import sample.tangocho.model.Card;
import android.content.Context;

public class FindCardServiceImpl implements FindCardService {
	
	private CardDao cardDao;
	
	public FindCardServiceImpl(Context context) {
		
		// TODO DI
		cardDao = new CardDaoImpl(context);
	}

	@Override
	public List<Card> findCardList(int tangochoId) {
		return cardDao.selectCardList(tangochoId);
	}

}
